import { PureComponent } from "react";
import withRoute from "../hoc/WithRoute";

class Detail extends PureComponent
{
    render()
    {
        const { route } = this.props;
        console.log(route);
        return (
            <div>
                <h2>detail</h2>
            </div>
        )
    }
}

export default withRoute(Detail);